package com.qqs.distributed.annotation;

import org.springframework.context.annotation.AdviceMode;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(DistributedCacheConfigurationSelector.class)
public @interface EnableDistributedCache {
    boolean proxyTargetClass() default false;

    AdviceMode mode() default AdviceMode.PROXY;
}
